<h2><?= $time->format($navLinkTxt, $date) ?></h2>
<div id="prevNext">
<span class="prev"><?= $html->link($time->format($navLinkTxt, $prev), array('controller'=>'archive', 'action'=>$period, $time->format($navLinkUrl, $prev))) ?></span>
<span class="next"><?= $html->link($time->format($navLinkTxt, $next), array('controller'=>'archive', 'action'=>$period, $time->format($navLinkUrl, $next))) ?></span>
</div>
<h2>Categories</h2>
<div id="top"><?
	echo $this->renderElement('top_categories', array('categories' => $categories, 'period'=>$period));
?></div>

<h2>Purchases</h2>
<?
	echo $this->renderElement('purchases');
?>
